package com.wlk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wlk.pojo.AccountingYear;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AccountingYearMapper extends BaseMapper<AccountingYear> {
    Integer getYearIdByName(@Param("yearName") String yearName);

    List<AccountingYear> getYearList();
}
